package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    /**
     * 查询所有护理等级
     * @return
     */
    List<NursingLevelVo> listAll();

    /**
     *新增护理等级
     * @param nursingLevel
     */
    void insert(NursingLevelDto nursingLevel);

    /**
     * 分页查询护理等级
     * @param pageNum
     * @param pageSize
     * @param name
     * @param status
     * @return
     */
    PageResponse<NursingLevelVo> listByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    /**
     * 根据id查询护理等级
     * @param id
     * @return
     */
    NursingLevelVo getById(Long id);

    /**
     * 修改护理等级
     * @param nursingLevel
     */
    void update(NursingLevelDto nursingLevel);

    /**
     * 删除护理等级
     * @param id
     */
    void delete(Long id);

    /**
     * 启用/禁用护理等级
     * @param id
     * @param status
     */
    void enableOrDisable(Long id, Integer status);
}
